<div ng-controller="CartController" id="cart">
	<header>
		<h2>购物车</h2>
	</header>

	<!-- 购物车为空时 -->
	<dl class="empty" ng-show="shopCart.length==0" ng-hide="total()">
		<dt><img src="html/cart/img/cart1.png"></dt>
		<dd>亲，购物车空空的耶~~</dd>
		<a href="" ui-sref="/home">去逛逛</a>
	</dl>

	<!-- 购物车有商品时 -->
	<div class="wrap" ng-show="shopCart.length" ng-hide="total()==0">
	    <!-- 个人信息 -->
		<div class="xinxi">
			<p><span class="sp1">收&nbsp;&nbsp;货&nbsp;&nbsp;人</span>王先生</p>
			<p><span class="sp1">电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话</span>18700000000<span class="sp2">修改</span></p>
			<p><span class="sp1">收货地址</span>北京市</p>
		</div>
        <!-- 闪送超市 -->
        <div class="sgcs">
        	<h3><span></span>闪送超市</h3>
        	<p>￥0起送，22:00前满￥30减免运费，22:00后满￥69减免运费</p>
        </div>
        <!-- 收货时间 -->
        <div class="shsj">
        	<p>收货时间<span class="sp3">一小时送达</span><span class="sp4">可预订</span></p>
        </div>
        <!-- 收货备注 -->
        <div class="shbz">
        	<p><span>收货备注</span><input type="text" name="" placeholder="可输入100字以内特殊要求内容"></p>
        </div>

        <!-- 购物车商品信息 -->
        <div class="tiao2" ng-repeat="arr2 in shopCart">
        	<input type="checkbox"/>
        	<div><img ng-src="{{arr2['img']}}"></div>
        	<dl>
        		<dt>{{arr2['name']}}</dt>
        		<dd>￥{{arr2['price']}}</dd>
        	</dl>
        	<p>
        		<img src="html/cart/img/cart5.png" ng-click="cut(arr2)">
        		<span>{{arr2['count']}}</span>
        		<img src="html/cart/img/cart4.png" ng-click="add(arr2)">
        	</p>
        </div>
        <div class="zong">
        	<p class="p1">
        		<input type="checkbox" name="" id="xuan"><label for="xuan">全选</label> 共<span>￥{{total() | number:2}}</span>
        	</p>
        	<p class="p2">选好了</p>
        </div>
	</div>
</div>